package com.econ.powercloud.ems.dal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author : zjf
 * @Description :
 * @Date : 2023/7/5 16:04
 * @Modified by : zjf
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class EmsControlRecordLog {
    /**
     * 主键自增
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 主表id
     */
    @TableField(value = "record_id")
    private Long recordId;

    /**
     * 日志内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private Date gmtCreate;
}